<!-- HTML5文件 -->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
		<title>捎品驿站-登录</title>
		<link rel="stylesheet" href="assets/agile/css/agile.layout.css">
		<link rel="stylesheet" href="assets/third/seedsui/plugin/seedsui/seedsui.min.css">
		<link rel="stylesheet" href="css/mystyle.css">
	</head>
	<body>
		<div id="section_container">
			<section id="index_section" data-role="section" class="active">
				<header>
		            <div class="titlebar">
<!-- 		            	 <a class="left" data-toggle="html" href="#area">
		                   <span class="icon icon-arrowleft-fill"></span>
		                </a> -->
		                <h1 class="text-center">登录</h1>
		                <a class="right"  href="reg.html">
		                   注册
		                </a>
		            </div>
		        </header>
				<article data-role="article" id="index_article" class="active">
					<div class="scroller">
						<form class="loginbox" id="form1" method="post" onSubmit="return false" action="/interface/front/member_login">
							<div class="input-box">
								<span class="user glyphicon icon-pad-fill"></span>
								  <input name="memberAccount" type="text" data-rule="required phone" placeholder="请输入手机号"  maxlength="11">
							</div>						
							<div class="input-box" data-input='reveal'>
								<span class="password glyphicon icon-lock2-fill"></span>
								  <input name="memberPwd" type="password" data-rule="required minlength:6" placeholder="6-32位密码" maxlength="32">
								  <i class="icon  icon-eye-fill"></i>
							</div>
							<div class="btnbar">
								<button class="button radius4 submit block">
	 							    <label>立即登录</label>
								</button>								
							</div>
							<div class="link">
								<a href="lostpsword.html" >忘记密码？</a>
							</div>
						</form>



					</div>	
				</article>
				

				
			</section>
		</div>
		
		<!--- third -->
		<script src="assets/third/zepto/zepto.min.js"></script>
		<script src="assets/third/iscroll/iscroll-probe.js"></script>
		<!---  agile -->
		<script type="text/javascript" src="assets/agile/js/agile.js"></script>		
<!-- 		<script type="text/javascript" src="assets/bridge/exmobi.js"></script>
		<script type="text/javascript" src="assets/bridge/agile.exmobi.js"></script> -->		
		<!-- app -->
		<script type="text/javascript" src="assets/third/seedsui/plugin/seedsui/seedsui.min.js"></script>
		<script type="text/javascript" src="js/c.js"></script>
		<script type="text/javascript" src="js/u.js"></script>	
		<script>

			A.launch({
			    readyEvent: 'ready'
			});
   			$(window).on('agileready',function(){
   				

   				$('#form1').formInit({
   					callback:function(res){
	   					if(res.status=="200"){
	   						A.alarmToast(res.message);
	   						setTimeout(function(){
	   							gotoNewPage('home.html',{
	   								openID:res.openID,
	   								memberID:res.memberID
	   							});
	   							
	   						},2000)
	   					}else{
	   						A.alarmToast(res.message);
	   					}
   					}
   				})
 
   			});
		</script>
	</body>
</html>